const RowObj = require('../modules/Row');

let RowController = {
    get_rowInfo: async function(req, res){
        let resultDate = await RowObj.getRowInfo();
        res.send(resultDate);
    },
    post_next: async function(req, res){
        let data = req.body;
        let resultDate = await RowObj.next(data);
        res.send(resultDate);
    }
}
module.exports = RowController;